package com.example.springbootdemo;

import util.ThreadUtil;

import java.io.IOException;

/**
 * @Author: zhangrongqing
 * @Date: 2020/1/9 19:34
 */
public class ExceptionDmeo {
    public static void main(String[] args) {
        while(true){
            try {
                throw new IOException();
            }catch (Exception e){
                e.printStackTrace();
                ThreadUtil.sleep(1000);
            }
        }

    }
}
